package com.threeti.mecool.legacy.infrastructure.persistence;

import java.util.List;

import javax.persistence.PersistenceContext;

import org.springframework.data.jpa.repository.JpaRepository;

import com.threeti.mecool.legacy.domain.model.acl.OrgnizationLegacy;

@PersistenceContext(unitName="mecool-external-datacollsys")
public interface OrgnizationLegacyRepository extends JpaRepository<OrgnizationLegacy, String> {
  List<OrgnizationLegacy> findByParentCode(String parentOrgCode);
}
